package com.mars.diancan.common;

import lombok.Getter;

/**
 * 订单状态的枚举类
 * @author MARS
 * @date 2018/6/21
 */
@Getter
public enum OrderStatusEnum implements CodeEnum{

    NEW(0,"新订单"),
    FINISHED(1,"完结"),
    CANCEL(2,"取消");

    private Integer code;

    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
